package cn.g31010.sip.util
{
	import flash.display.DisplayObject;
	
	import mx.controls.Alert;
	import mx.core.IFlexDisplayObject;
	import mx.managers.PopUpManager;
	
	public class UITools
	{
		public function UITools()
		{
		}

		public static function pop(window:IFlexDisplayObject,parent:DisplayObject,modal:Boolean):void{
			PopUpManager.addPopUp(window,parent,modal);
			PopUpManager.centerPopUp(window);
		}
	}
}